//
//  SellTicketsOperation.h
//  TestObjc
//
//  Created by wp w on 12-6-13.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ViewController.h"


@interface SellTicketsOperation : NSOperation{
    int *tickets; //未售出的票数
    NSCondition* ticketsCondition;//同步锁
    
    ViewController* controller;
    NSString *name;
}

@property int *tickets;
@property (atomic, retain) NSCondition* ticketsCondition;
@property (atomic, retain) ViewController* controller;
@property (atomic, retain) NSString *name;


@end
